using System.Drawing;

namespace Xnatlas
{
    public class BitmapTextureWrapper : ITextureWrapper
    {
        public BitmapTextureWrapper(Bitmap bitmap, string data)
        {
            Bitmap = bitmap;
            Data = data;
        }

        public Bitmap Bitmap { get; set; }
        public int Width { get { return Bitmap.Width; } }
        public int Height { get { return Bitmap.Height; } }
        public string Data { get; set; }
    }
}